<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="./js/jquery.min.js"></script>

</head>
<body>
<div id="mydiv">测试文本</div>
<script>
    var md=document.getElementById("mydiv");

//    md.innerHTML
    alert(jQuery(md).html());
</script>
</body>
</html>